home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
051-060
/
amok53
/
oberon2.0
/
module
/
io.def
< prev
next >
Wrap
Text File
|
1993-11-04
|
864b
|
32 lines
DEFINITION io;
IMPORT
d := Dos;
VAR
out, in : d.FileHandlePtr;
Me : d.ProcessPtr;
closeDelay : LONGINT;
PROCEDURE Length(str: ARRAY OF CHAR): INTEGER;
PROCEDURE Write(ch: CHAR);
PROCEDURE WriteLn;
PROCEDURE WriteString(str: ARRAY OF CHAR);
PROCEDURE Tab(n: INTEGER);
PROCEDURE Clear();
PROCEDURE Format(VAR str: String; data: LONGINT);
PROCEDURE WriteInt(x: LONGINT; n: INTEGER);
PROCEDURE WriteHex(x: LONGINT; n: INTEGER);
PROCEDURE Read(VAR ch: CHAR);
PROCEDURE ReadString(VAR str: ARRAY OF CHAR);
PROCEDURE ReadInt(VAR x: LONGINT): BOOLEAN;
PROCEDURE ReadInteger(VAR x: INTEGER): BOOLEAN;
PROCEDURE ReadShortInt(VAR x: SHORTINT): BOOLEAN;
PROCEDURE ReadHex(VAR x: LONGINT): BOOLEAN;
PROCEDURE ReadIntOk(VAR x: LONGINT);
PROCEDURE ReadIntegerOk(VAR x: INTEGER);
PROCEDURE ReadShortIntOk(VAR x: SHORTINT);
PROCEDURE ReadHexOk(VAR x: LONGINT);
END io.